package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwTpl;
import com.tjmc.tiomscore.model.TranPtnHwTplExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwTplMapper extends TranPtnHwSuperMapper<TranPtnHwTpl> {
    long countByExample(TranPtnHwTplExample example);

    int deleteByExample(TranPtnHwTplExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwTpl record);

    int insertSelective(TranPtnHwTpl record);

    List<TranPtnHwTpl> selectByExample(TranPtnHwTplExample example);

    TranPtnHwTpl selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwTpl record, @Param("example") TranPtnHwTplExample example);

    int updateByExample(@Param("record") TranPtnHwTpl record, @Param("example") TranPtnHwTplExample example);

    int updateByPrimaryKeySelective(TranPtnHwTpl record);

    int updateByPrimaryKey(TranPtnHwTpl record);
}